package com.tengju.data.domain.model.activity;

import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @author chenhang
 * @Date 2021/10/14
 */
@Data
public class ActivityAnalysisQuery {

    private Long activityId;

    private String activityDate;

    /**
     * 数据类型 DAY:天 ALL：整个活动
     */
    private String dataType;

    private List<Long> genSecIdCodes;

    /**
     * 数据查看类型 DAY:天（eg:趋势图） ALL：整体
     */
    private String viewType = "ALL";

    private Integer targetType;


    private Integer subjectType;

    private LocalDate activityStartDate;

    private LocalDate activityEndDate;

    private String orderColumn;

    private String orderType;

    public void dayView() {
        this.viewType = "DAY";
    }

    public void allView() {
        this.viewType = "ALL";
    }


}
